Rail Radar

©2025 Copyright by RailYatri. Terms of Use | Privacy

function homepage_tag(extra_data) { window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'crto_homepage', 'crto': { 'email': "", 'extra_data': extra_data } }); } // Criteo SearchResultPage dataLayer function search_result_tag(source_city, destination_city) { var route_ids = [] route_ids.push(source_city + "_" + destination_city) window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'crto_searchresultpage', 'crto': { 'email': "", 'din': "2025-01-19", 'dout': "2025-01-19", 'products': route_ids, 'extra_data': 'Train' } }); } // Criteo ProductPage dataLayer function product_tag(source_city, destination_city) { window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'crto_productpage', 'crto': { 'email': "", 'din': "2025-01-19", 'dout': "2025-01-19", 'products': source_city + "_" + destination_city, 'extra_data': 'Train' } }); } // Criteo BasketPage dataLayer function basket_tag(source_city, destination_city) { window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'crto_basketpage', 'crto': { 'email': "", 'din': "2025-01-19", 'dout': "2025-01-19", 'products': [{ 'id': source_city + "_" + destination_city, 'price': "", 'quantity': "" }], 'extra_data': 'Train' } }); } // Criteo TransactionPage dataLayer function transaction_tag(source_city, destination_city) { window.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'crto_transactionpage', 'crto': { 'email': "", 'din': "2025-01-19", 'dout': "2025-01-19", 'transactionid': "", 'products': [{ 'id': source_city + "_" + destination_city, 'price': "", 'quantity': "" }], 'extra_data': 'Train' } }); } -->